package com.panopset.refactorsf;

import javax.swing.JPasswordField;
import javax.swing.text.Document;

import com.panopset.java.Version;
import com.panopset.sf.FontManager;
import com.panopset.sf.FontManager.FontType;

public class TPasswordField extends JPasswordField {
	FontManager fm = FontManager.getInstance();

    public TPasswordField() {
        this(null,null,0);
    }

    public TPasswordField(String text) {
        this(null, text, 0);
    }

    public TPasswordField(int columns) {
        this(null, null, columns);
    }

    public TPasswordField(String text, int columns) {
        this(null, text, columns);
    }

    public TPasswordField(Document doc, String txt, int columns) {
        super(doc, txt, columns);
        fm.register(this, FontType.plainArial);
    }

    private static final long serialVersionUID = Version.UNI_VERSION;
}
